import request from '@/config/axios'
// 公司
export const getTenant = () => {//
    return request.get({ url: '/api/enterprise/tenant' })
}
export const editTenant = (data: any) => {//
    return request.put({ url: '/api/enterprise/tenant', data: data })
}
// 获取邮箱信息
export const getTenantMail = () => {//
    return request.get({ url: '/api/enterprise/tenantMail/' })
}
export const editTenantMail = (data: any) => {//
    return request.post({ url: '/api/enterprise/tenantMail', data: data })
}
// 注销企业
export const deleteUser = () => {//
    return request.delete({ url: '/api/user'})
}

// 反馈时间/enterprise/feedback
export const feedback = (params) => {
    return request.post({ url: '/api/enterprise/feedback',data:params })
  }
